/**
 * 
 */
package com.jie.eclipse.pan.listener;

import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;

import com.jie.eclipse.pan.data.BaseDataEntity;

/**
 * @author yanjie
 *
 */
public class PSelectionListener implements SelectionListener{
	BaseDataEntity data = null;
	/**
	 * 
	 */
	public PSelectionListener(BaseDataEntity data) {
		this.data = data;
	}
	
	public void widgetSelected(SelectionEvent paramSelectionEvent) {
		
	}

	public void widgetDefaultSelected(SelectionEvent paramSelectionEvent) {
		// TODO Auto-generated method stub
		
	}

	public BaseDataEntity getData(){
		return this.data;
	}
	
	public Object gpov(String paramName){
		if(this.data == null)return null;
		return this.data.gpov(paramName);
	}

}
